package com.shunhe.shyqfk.model;

import com.contrarywind.interfaces.IPickerViewData;

import java.io.Serializable;

public class Partition implements Serializable, IPickerViewData {
    private static final long serialVersionUID = 2711288874675312411L;

    private String name;
    private String index;// 1 天源一期 2 二期 3 三期 4 顺和物流园

    public Partition() {

    }

    public Partition(String name, String index) {
        this.name = name;
        this.index = index;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getIndex() {
        return index;
    }

    public void setIndex(String index) {
        this.index = index;
    }

    @Override
    public String getPickerViewText() {
        return this.name;
    }
}
